
<%@taglib uri="http://alloy.liferay.com/tld/aui" prefix="aui" %>
<%@page import="com.liferay.portal.kernel.util.Validator"%>
<%@page import="com.skali.cabdirectories.model.CABDirectories_Metadata"%>
<%@page import="com.skali.cabdirectories.service.CABDirectories_MetadataLocalServiceUtil"%>
<%@page import="com.liferay.portal.kernel.util.ParamUtil"%>
<portlet:defineObjects />
<%
	long sammNo = ParamUtil.getLong(request, "sammNo");
		
	CABDirectories_Metadata cabDirectories_Metadata = null;
	if(Validator.isNotNull(sammNo)){
	cabDirectories_Metadata = CABDirectories_MetadataLocalServiceUtil.getCABDirectories_Metadata(sammNo);	
	}
System.out.println(" $$$ sammNo recevd in viewDetails = "+sammNo);
%>


<html>

<%
	if (cabDirectories_Metadata != null) {
%>

<div>

<aui:layout>
	<aui:column width="60%">
		<div id="divId11">
			<%=cabDirectories_Metadata.getAddress()%>
		</div>
	</aui:column>

	<aui:column width="40%">
		<div id="divId22">
				<ul><li>Contact: <%=cabDirectories_Metadata.getContact() %></li></ul>
				<ul><li>Tel: <%=cabDirectories_Metadata.getTel() %></li></ul>
				<ul><li>Fax: <%=cabDirectories_Metadata.getFax() %></li></ul>
				<ul><li>Email: <%=cabDirectories_Metadata.getEmailOfficeIncharge() %></li></ul>
				<ul><li>Website:- <%=cabDirectories_Metadata.getWebsite() %></li></ul>
		</div>
	</aui:column>
</aui:layout>

	<aui:layout>

		<aui:column width="100%">
			<div id="divId33">
				<div>
					The standard used for assessment of this laboratory is :
					<%=cabDirectories_Metadata.getTelephoneNo()%>
				</div>
				<div>Client served/Facilities :</div>
				<div>
					Field Of Testing :
					<%=cabDirectories_Metadata.getField()%>
				</div>
				<div>
					Officer In Charge :
					<%=cabDirectories_Metadata.getOfficerInCharge()%>
				</div>
				<div>
					Email :
					<%=cabDirectories_Metadata.getEmail()%>
				</div>
				<div>
					TelePhone No :
					<%=cabDirectories_Metadata.getTelephoneNo()%>
				</div>
			</div>
		</aui:column>

	</aui:layout>
	<aui:layout>
		<aui:column>
			<button aria-hidden="true" class="btn" onClick="slideInPopUp();">Close</button>
		</aui:column>
	</aui:layout>

</div>


<%
	} else {
%>
		<legend> No Relevant Data Found..!!!! </legend>
<%
	}
%>


</html>